<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">

	<!-- Zuordung (mapping) von URL (command) zu Controller -->
	<bean id="simpleUrlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
		<property name="mappings">
			<props>
				<prop key="/open/Home.s">HomeCo</prop>
				<prop key="/prot/Home.s">HomeCo</prop>
				<prop key="/open/AlleBoote.s">AlleBooteCo</prop>
				<prop key="/prot/EditBoot.s">EditBootCo</prop>
				<prop key="/prot/NeuesBoot.s">NeuesBootCo</prop>
				<prop key="/prot/LoescheBoot.s">LoescheBootCo</prop>
				<prop key="/prot/SaveBoot.s">SaveBootCo</prop>
				<prop key="/prot/NeuePerson.s">NeuePersonCo</prop>
				<prop key="/prot/EditPerson.s">EditPersonCo</prop>
				<prop key="/open/AllePersonen.s">AllePersonenCo</prop>
				<prop key="/prot/SavePerson.s">SavePersonCo</prop>
				<prop key="/prot/LoeschePerson.s">LoeschePersonCo</prop>
				<prop key="/open/FreieBoote.s">FreieBooteCo</prop>
				<prop key="/open/BeginneFahrt.s">BeginneFahrtCo</prop>
				<prop key="/open/BeendeFahrt.s">BeendeFahrtCo</prop>
				<prop key="/open/AlleFahrten.s">AlleFahrtenCo</prop>
				<prop key="/open/AktuelleFahrten.s">AktuelleFahrtenCo</prop>
				<prop key="/open/SaveFahrt.s">SaveFahrtCo</prop>
				<prop key="/open/StopFahrt.s">StopFahrtCo</prop>
				<prop key="/prot/AlleFahrtenVoll.s">AlleFahrtenVollCo</prop>
				<prop key="/open/Logout.s">LogoutCo</prop>
			</props>
		</property>
	</bean>
	
	<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
		<property name="prefix" value="/view/" />
		<property name="suffix" value=".jsp" />
	</bean>
</beans>
